<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'company-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'kaisha_mei'); ?>
		<?php echo $form->textField($model,'kaisha_mei',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'kaisha_mei'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'logo_img'); ?>
		<?php echo $form->textField($model,'logo_img',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'logo_img'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name_kana'); ?>
		<?php echo $form->textField($model,'name_kana',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'name_kana'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name_roman'); ?>
		<?php echo $form->textField($model,'name_roman',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'name_roman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gaiyou'); ?>
		<?php echo $form->textArea($model,'gaiyou',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'gaiyou'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'address'); ?>
		<?php echo $form->textField($model,'address',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'address'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'working'); ?>
		<?php echo $form->textArea($model,'working',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'working'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type'); ?>
		<?php echo $form->textField($model,'type',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'type'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->